package com.tfjybj.itoo.teach.model;


import com.tfjybj.itoo.teach.provider.until.CourseTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author 张欢
 * @since 1.0.5 2018-7-19
 */
@ApiModel(value = "选课时放入MQ中的信息实体")
public class ChooseCourseMQModel implements Serializable {
    //学生id
    @ApiModelProperty(value = " 学生id")
    private String studentId;
    //上课班id
    @ApiModelProperty(value = " 上课班id")
    private String teachClassId;
    //操作类型(选课,退课)
    @ApiModelProperty(value = " 操作类型(选课,退课)")
    private CourseTypeEnum operationMark;

    public ChooseCourseMQModel(String studentId, String teachClassId, CourseTypeEnum operationMark) {
        this.studentId = studentId;
        this.teachClassId = teachClassId;
        this.operationMark = operationMark;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getTeachClassId() {
        return teachClassId;
    }

    public void setTeachClassId(String teachClassId) {
        this.teachClassId = teachClassId;
    }

    public CourseTypeEnum getOperationMark() {
        return operationMark;
    }

    public void setOperationMark(CourseTypeEnum operationMark) {
        this.operationMark = operationMark;
    }
}
